home *** CD-ROM | disk | FTP | other *** search
- # Hitere is presented as is; no warrantee is either expressed or implied
- # as to it's suitability to any purpose whatsoever. You assume all the
- # risk for all damage, even if caused by a defect in the software,
- # no matter how awful.
- if (! -f t:_Hi1$$)
- cat << + > t:_Hi1$$
- onintr quit
- # note that the following lines to the line beginning with +
- # are a 'here document'
-
- set _verbose 1
- set _umask 0x4f
- if ! -f t:_Hi2$$
- cat << - > t:_Hi2$$
- # note that the following lines to the line beginning with -
- # are a 'here document'
-
- local i=0 j="Hi, There!!" k=""
- echo -n "\e[8;1H"
- while i++<9
- echo $k$j
- k=cat(k,' ')
- endwhile
- set k ""
- while i-->0
- echo -n "\e[T\e[1;1H$k$j"
- k=cat(k,' ')
- endwhile
- echo -n "\e[5;25H$j"
- echo -n "\e[6;24H$j"
- echo "\e[7;23H$j"
- sleep 5
- -
-
- endif
- echo -n "\e[0 p"
- # (source t:_Hi2$$) would also work for the following
- t:_Hi2$$ >"con:0/120/540/80/Hi, There"
- sleep 1
- quit
- +
-
- endif
- newbsh con:0/0/540/120/other t:_Hi1$$
- sleep .1
- window activate
- # in order to speed up the trace, this script turns off the cursor to one
- # window only. To see the difference, comment out the line:
- # echo -n "\e[0 p"
- # you must remove the file t:_Hi1$$ before the change takes effect. ($$
- # is the current CLI number).
-